#include <iostream>
#include <string>
#include <sstream>
using namespace std;
 int main() {
std::string response;
std::string thisresponse = "";
bool _break = false;
int b = 0;
int a = 0;
while (!_break) {
std::cout << "E" << "n" << "t" << "e" << "r" << " " << "o" << "n" << "e" << " " << "p" << "o" << "s" << "i" << "t" << "i" << "v" << "e" << " " << "n" << "u" << "m" << "b" << "e" << "r" << std::endl;
std::getline(std::cin, response);
int thisresponse;
std::istringstream ss(response);
 if(!(ss >> thisresponse)) {
std::cout << "Invalid input." << std::endl; 
 continue;
}

if ((thisresponse)  <  (1)) {
continue;

}

else {
if (true) {
a = (thisresponse);
while (!_break) {
std::cout << "E" << "n" << "t" << "e" << "r" << " " << "a" << "n" << "o" << "t" << "h" << "e" << "r" << " " << "p" << "o" << "s" << "i" << "t" << "i" << "v" << "e" << " " << "n" << "u" << "m" << "b" << "e" << "r" << std::endl;
std::getline(std::cin, response);
int thisresponse;
std::istringstream ss(response);
 if(!(ss >> thisresponse)) {
std::cout << "Invalid input." << std::endl; 
 continue;
}

if ((thisresponse)  <  (1)) {
continue;

}

else {
if (true) {
b = (thisresponse);
std::cout << "F" << "i" << "n" << "d" << "i" << "n" << "g" << " " << "t" << "h" << "e" << " " << "g" << "c" << "d" << " " << "o" << "f" << " " << a << " " << "a" << "n" << "d" << " " << b << "." << std::endl;
while (!_break) {
std::cout << "C" << "a" << "l" << "c" << "u" << "l" << "a" << "t" << "i" << "n" << "g" << " " << "g" << "c" << "d" << "." << " " << "E" << "n" << "t" << "e" << "r" << " " << "a" << "n" << "y" << "t" << "h" << "i" << "n" << "g" << "." << std::endl;
std::getline(std::cin, response);
std::string thisresponse(response);

if ((a)  ==  (0)) {
std::cout << "G" << "C" << "D" << " " << "i" << "s" << " " << b << "." << std::endl;
_break = true;

}

else {
if ((b)  ==  (0)) {
std::cout << "G" << "C" << "D" << " " << "i" << "s" << " " << a << "." << std::endl;
_break = true;

}

else {
if ((a)  >  (b)) {
a = ((a)  -  (b));
std::cout << "A" << " " << "i" << "s" << " " << "n" << "o" << "w" << " " << a << "," << " " << "B" << " " << "i" << "s" << " " << "s" << "t" << "i" << "l" << "l" << " " << b << std::endl;
continue;

}

else {
if (true) {
b = ((b)  -  (a));
std::cout << "A" << " " << "i" << "s" << " " << "s" << "t" << "i" << "l" << "l" << " " << a << "," << " " << "B" << " " << "i" << "s" << " " << "n" << "o" << "w" << " " << b << std::endl;
continue;

}

else {
break;

}

}

}

}

}

break;

}

else {
break;

}

}

}

break;

}

else {
break;

}

}

}

}
